/*重置样式*/
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img, div, span, input, header, footer, main{ margin:0; padding:0;box-sizing: border-box;}
fieldset, img { border:none;vertical-align:middle;}
h1,h2,h3,h4,h5,h6{font-weight: normal;}
em, b, strong, i{ font-style:normal; font-weight:normal; }
ul, ol { list-style:none; } 
a { color:black; text-decoration:none; }
.clearfix::after{
    display: block;
    height: 0;
    content: "";
    visibility: hidden;
    clear: both;
}
.clearfix{
    zoom: 1;
}

$w : 100%;
$wn : 996px;


//头部
header{
    width: $w;
    height: 125px;
    background: #ffffff;
    .h_warp{
    width: $wn;
    height: 125px;
    margin: 0 auto;
    .h_logo{
        width: 151px;
        height: 61px;
        margin-top: 33px;
        background: url(../images/logo.png)no-repeat;
        float: left;
        a{
            display: block;
            width: 151px;
            height: 61px;
        }
    }
    .h_nav{
        width: 845px;
        height: 125px;
        float: left;
        .h_top{
            width: $w;
            p{
                text-align: right;
                a{
                    color: #6bc4df;
                    font-size: 13px;
                    margin-left: 20px;
                    line-height: 50px;
                }
                a:first-child{
                    display: inline-block;
                    background: url(../images/dizhi_icon.png)no-repeat left center;
                    background-size: 9px 14px;
                    padding-left: 17px;
                }a:nth-child(2){
                    display: inline-block;
                    background: url(../images/cart_icon.png)no-repeat left center;
                    background-size: 17px 14px;
                    padding-left: 25px;
                }
            }
        }
        .h_bottom{
            width: $w;
            .left{
                float: left;
                width: 645px;
                height: 50px;
                li{
                    float: left;
                    width: 161px;
                    height: 50px;
                    position: relative;
                    border-right: 1px solid #6bc4df;
                    a{
                        height: $w;
                        color: #6bc4df;
                        font-size: 12px;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-around;
                        align-items: center;
                        span{
                            display: block;
                        }
                    }
                    .sub_nav{
                        display: none;
                        z-index: 10;
                        position: absolute;
                        top: 50px;
                        background: #FFFFFF;
                        border:none;
                        width: 125px;
                        left: 18px;
                        li{
                            width: 125px;
                            height: 40px;
                            text-align: center;
                            border:none;
                            
                        }
                    }
                }
                li:last-child{
                    border-right:none;
                }
                li:nth-child(2){
                    &:hover .sub_nav{
                        display: block;
                    }
                }
            }
            .right{
                float: right;
                width: 200px;
                height: $w;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                position: relative;
                p{
                    font-size: 12px;
                    line-height: 20px;
                    color: #6bd2ed;
                    span{
                        margin-right: 5px;
                        display: inline-block;
                        background: url(../images/phone_icon.png)no-repeat;
                        background-size: 15px 15px;
                        width: 15px;
                        height: 15px;
                    }
                }
                #serch{
                    box-sizing: border-box;
                    border: 1px solid #6BC4DF;
                    font-size: 12px;
                    color: #6BC4DF;
                    width: 105px;
                    height: 20px;
                    background: url(../images/search_icon.png)no-repeat;
                    background-size: 15px 15px;
                    padding-left: 17px;
                    }
                }
            }
        }
    }
}
//尾部
footer{
    width: $w;
    .f_warp{
        width: $wn;
        margin: 0 auto;
        .h_footerhelp{
            width: $w;
            background: #ededed;
            p{
                cursor: pointer;
                color: #626262;
                font-size: 12px;
                line-height: 25px;
                padding-left:15px ;
                i{
                    display: inline-block;
                    width: 14px;
                    height: 9px;
                    background: url(/images/f_listtop.jpg)no-repeat center;
//                  background: url(/images/f_listbottom.jpg)no-repeat center;
                    margin: 0 3px;
                }
            }        
        }
        .h_footer{
            width: $w;
            height: 180px;
            border-top: 1px solid #d5d5d5;
            margin: 10px auto;
            .f_wenzi{
                display: block;
                float: left;
                margin: 10px 0;
                p{
                    line-height: 23px;
                    font-size: 11px;
                    color: #898989;
                    line-height: 20px;
                }
               
            }
            .h_footerright{
                float: right;
                color: #626262;
                .jiathis_style_24x24{
                    .h_weixin{
                        position: relative;
                        cursor: pointer;
                        display: block;
                        width: 31px;
                        height: 31px;
                        margin: 5px 0 0 13px;
                        background: url(../images/bj_2.png)no-repeat 0 -58px ;
                        &:hover .h_fenxiang{
                            display: block;
                        }
                        .h_fenxiang{ 
                            width: 180px;
                            height: 220px;
                            border: 1px solid #CCC;
                            border-radius: 5px;
                            left: -110px;
                            top: -220px;
                            z-index: 2;                    
                            position: absolute;
                            background: #FFFFFF;
                            display: none;
                            p{
                                color: #898989;
                                display: block;
                                height: 25px;
                                border-bottom: 1px solid #ccc;
                                padding-left: 15px;
                                line-height: 25px;
                                margin: 10px 0;
                                font-size: 12px;
                            }
                            img{
                                margin: 5px 15px;
                                height: 150px;
                                width: 150px;
                            }
                        }
                    }
                }
                
            }
        }
    }
}
//登录头
.login_top{
    width: $w;
    height: 30px;
    .l_warp{
        width: $wn;
        height: 30px;
        margin: 0 auto;
    } 
}
.suggest{
    width: 105px;
    border-left: 1px solid #6BC4DF;
    position: absolute;
    border-right: 1px solid #6BC4DF;
    border-bottom: 1px solid #6BC4DF;
    /* height: 20px; */
    top: 40px;
    background: #fff;
    z-index: 12;
    font-size: 12px;
    overflow: hidden;
    div{
        color: #6BC4DF;
    }
}

.h_footmenu {  
    height: 0;
    width: 996px;
    margin: 0 auto;
    overflow: hidden;
    clear: both; 
    background: #ededed;
    padding: 0 18px;
    dl {
        margin: 15px 0;
        float: left;
        width: 160px;
        padding-left: 11px;
        dt {
            font: lighter 20px/30px "΢���ź�";
            margin-bottom: 8px;
            i {
                display: inline-block;
                width: 23px;
                height: 23px;
                vertical-align: middle;
                padding-right: 5px;
            }
        }
        dd {
            padding-left: 35px;
            width: 100px;
            height: 20px;
            overflow: hidden;
            a{
                font-size: 13px;
                 color: #626262;
            }
        }
    }
}
